package SmartMeeting.decorators;

import SmartMeeting.Entity.Meeting;

public class SummaryDecorator implements MeetingRecord {
    private MeetingRecord meetingRecord;

    public SummaryDecorator(MeetingRecord meetingRecord) {
        this.meetingRecord = meetingRecord;
    }

    @Override
    public void record(Meeting meeting) {
        meetingRecord.record(meeting);
        System.out.println("会议总结已添加到会议记录中。");
    }

    @Override
    public String getContent() {
        return meetingRecord.getContent() + "\n会议总结：本次会议围绕巴拉巴拉巴拉巴拉展开";
    }

}
